package com.icebergteam.warfacewidget.core;

public class StateException extends Exception{
	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;
	private int stateRequest;
	
	public StateException(int state){
		setStateRequest(state);
	}
	
	public StateException(String err){
		super(err);
	}
	
	public StateException(String err, int state){
		super(err);
		setStateRequest(state);
	}

	/**
	 * @return the stateRequest
	 */
	public int getStateRequest() {
		return stateRequest;
	}

	/**
	 * @param stateRequest the stateRequest to set
	 */
	public void setStateRequest(int stateRequest) {
		this.stateRequest = stateRequest;
	}
	
	
}
